package org.yenn.pattern.factory.demoabstract;

import org.yenn.pattern.factory.service.IBoy;
import org.yenn.pattern.factory.service.IGirl;
import org.yenn.pattern.factory.service.impl.MCBoy;
import org.yenn.pattern.factory.service.impl.MCGirl;

/**
 * 圣诞系列加工厂
 * @author Administrator
 *
 */
public class MCFactory implements IPersonFactory {

	@Override
	public IBoy getBoy() {
		return new MCBoy();
	}

	@Override
	public IGirl getGirl() {
		return new MCGirl();
	}

}
